<?php
/**
 * Created by PhpStorm.
 * User: fengyan
 * Date: 2017/4/29
 * Time: 下午6:13
 */

namespace Home\Controller;


class JoinController extends ArticleController
{
    protected $pageLimit = 20;

    /**
     * @param $list
     */
    protected function afterLists(&$list)
    {
        foreach ($list as $key=>$value) {
            $list[$key] = D('Document')->detail($value['id']);
        }
    }
}